package top.dprkshow.springboothelloworld.api;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.dprkshow.springboothelloworld.utils.UUIDUtil;


/**
 * @author HAN Bing
 * @date 2021/6/24
 */
@RestController
@Api(tags = {"测试tags2在接口类"})
public class UUID {
    @ApiOperation(value = "测试value在uuid",
            notes = "测试notes在uuid"
    )
    @GetMapping("/uuid")
    public String getUuid() {
        return UUIDUtil.getUUID();
    }
}
